package com.zmy.xcx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmy.xcx.dao.entity.HyperglycemiaMedicationDO;
import com.zmy.xcx.dto.HyperglycemiaMedicationDTO;

import java.util.List;

/**
 * 高血糖药品服务接口
 */
public interface HyperglycemiaMedicationService extends IService<HyperglycemiaMedicationDO> {

    /**
     * 查询高血糖药物
     *
     * @param hyperglycemiaMedicationDTO
     * @return 符合条件的所有高血糖药物，支持模糊查询
     */
    List<HyperglycemiaMedicationDO> listHyperglycemiaMedication(HyperglycemiaMedicationDTO hyperglycemiaMedicationDTO);

    /**
     * 增加点击量
     *
     * @param id 药品id
     */
    void incrementPageView(Integer id);

}
